
package session.stateless;

import entity.Address;
import entity.Customer;
import entity.PurchaseItem;
import entity.PurchaseOrder;
import java.util.Collection;
import java.util.Date;
import javax.ejb.Remote;


@Remote
public interface PurchaseOrderSessionBeanRemote {
    public Long addPurchaseOrder (String poNumber, Double totalAmount,Double cost,Double shippingCost, String status, Date poDate, String remark
            , Long bId, Long custId, Collection<PurchaseItem> purchaseItems, Double creditRate, Double firstPayment);
            
    public void updatePurchaseOrder (Long id, String status);
    public PurchaseOrder getPurchaseOrder(Long purchaseId);
}
